<!DOCTYPE html>
<html>
    <head>
        <title>用户登录</title>
    <include file="public@head"/>
</head>
<body>
    <div class="container">
        <div class="row">
            <div  id="load" class="col-md-4 col-md-offset-4">
                <div class="img"><img src="__TMPL__/images/logo.png" alt="" /></div>
                <form class="js-ajax-form" action="{:url('user/login/doLogin')}" method="post">
                    <div class="form-group">
                        <input type="text" id="input_username" name="username" placeholder="手机号" class="form-control">
                    </div>

                    <div class="form-group">
                        <input type="password" id="input_password" name="password" placeholder="密码" class="form-control">
                    </div>

                    <div class="form-group">
                        <div style="position: relative;">
                            <input type="text" name="captcha" placeholder="验证码" class="form-control captcha" style="width: 170px;float: left;margin-right: 30px">
                            <captcha height="38" width="160" font-size="20"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <input type="hidden" name="redirect" value="">
                        <button class="btn btn-primary btn-block js-ajax-submit" type="submit" style="margin-left: 0px">确定</button>
                    </div>

                    <div class="form-group" style="text-align: center;">
                        <ul class="list-inline">
                            <li><a href="{:cmf_url('user/Register/index')}">现在注册</a></li>
                            <li><a href="{:cmf_url('user/Login/findPassword')}">忘记密码</a></li>
                        </ul>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!-- script -->
<include file="public@script"/>
<script src="__TMPL__/common/load.js"></script>
</body>
</html>